/*
 * @Author: wwssaabb
 * @Date: 2021-06-25 14:31:25
 * @LastEditTime: 2021-06-25 14:31:25
 * @FilePath: \demo\todo_list\src\store\state.ts
 */
export type TodoItem = {
  id: number;
  task: string;
  completed: boolean;
};

export type State = {
  loading: boolean;
  todoList: TodoItem[];
};

export const state: State = {
  loading: false,
  todoList: [],
};
